﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZebraCoreLib.Framework;
using ZebraCoreLib.BasBiz;

namespace ZebraCoreLib.Logistics
{
    /// <summary>
    /// 预报
    /// </summary>
    [ZebraBizObject(TableName = "osShipArea",IsCacheData=true)]
    public class LogisticsCenter : BasBizService<LogisticsCenter>
    {
        //[ZebraField(DataField = "code")]
        //public string saStoreID { get; set; }
        [ZebraField(DataField = "saCode")]
        public string saCode { get; set; }
        [ZebraField(DataField = "Name")]
        public string saName { get; set; }

        [ZebraServiceMethod(ValueMember="saCode", DisplayMember="saName")]
        public List<LogisticsCenter> GetLogisticsCenters()
        {
            return List("saStoreID=saCode");

        }

    }
}
